mkdir /usr/lib/jvm

tar -xzf jdk-17_linux-x64_bin.tar.gz -C /usr/lib/jvm

echo '#set oracle jdk environment
export JAVA_HOME=/usr/lib/jvm/jdk-17.0.2
export JRE_HOME=${JAVA_HOME}/jre  
export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib  
export PATH=${JAVA_HOME}/bin:$PATH' >> ~/.bashrc

source ~/.bashrc


